package com.crazy.shell.provider.nosql;

import com.mongodb.DB;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.data.mongodb.MongoDbFactory;
import org.springframework.data.mongodb.core.MongoOperations;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Component;

/**
 * Created by creazier.huang on 16/10/9.
 */
@Component
public class MongoTemp {

    private final MongoTemplate mongoTemplate;

    @Autowired
    public MongoTemp(MongoTemplate mongoTemplate) {
        this.mongoTemplate = mongoTemplate;
    }
}
